package com.ourcraft.informationcollectionsystem.service.common;

import com.ourcraft.informationcollectionsystem.entity.User;
import com.ourcraft.informationcollectionsystem.entity.Role;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommonService {
    List<Role> getAllRoles();
    int getCompanyId(int userId);
}
